﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="S7.ShowPendingReservations"
	xmlns:dg="http://schemas.microsoft.com/wpf/2008/toolkit"
    Title="Pending Reservations" Height="600" Width="800" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen" Background="{DynamicResource BackgroundColor}" FontSize="18" Loaded="Window_Loaded">
    <Grid>
    	<Grid Margin="8" Grid.Column="1">
    		<Grid Height="40" VerticalAlignment="Top">
    			<Label HorizontalAlignment="Center" Content="Pending Reservations" VerticalAlignment="Center"/>
    			<TextBox x:Name="tbSearch" HorizontalAlignment="Right" Margin="0,8" Width="200" TextWrapping="Wrap" FontSize="12"/>
    			<Image HorizontalAlignment="Right" Width="24" Source="/S7;Component/Resources/Graphics/Search.png" Stretch="Uniform" Height="24"/>
    		</Grid>
    		<dg:DataGrid x:Name="dgReservations" Background="#FF333333" AutoGenerateColumns="False" Margin="0,40,0,0">
    			<dg:DataGrid.Columns>
    				<dg:DataGridTextColumn Header="Customer Name" Binding="{Binding CustomerName}"/>
    				<dg:DataGridTextColumn Header="Booking Time" Binding="{Binding BookingTime}"/>
    				<dg:DataGridTextColumn Header="Booking Date" Binding="{Binding BookingDate}"/>
    				<dg:DataGridTextColumn Header="Table" Binding="{Binding Table}"/>
    				<dg:DataGridTextColumn Header="Money Charged" Binding="{Binding MoneyCharged}"/>
    				<dg:DataGridTextColumn Header="Booking Status" Binding="{Binding BookingStatus}"/>
    			</dg:DataGrid.Columns>
    		</dg:DataGrid>
    	</Grid>
    </Grid>
</Window>
